<template>
		<!-- 上拉加载组件 -->
	<view class="loading-men" v-if="loading">
		<image src="/static/loading/loadtmall.gif" mode="widthFix" v-if="pictuer"></image>
		<text>{{title}}</text>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				loading:false,
				pictuer:true,
				title:'加载中'
			}
		},
		methods:{
			loAd(value){
				let {wether=false,title='加载中',pictuer=true} =value
				this.loading=wether
				this.pictuer=pictuer
				this.title=title
			}
		}
	}
</script>

<style scoped>
.loading-men{width: 200upx; height: 100upx;
font-size: 20rpx;
color: #A7A7A7;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.loading-men image{width: 60upx; height: 80upx; display: block;}
</style>
